back to index

HTML Input Form Attribte

The input form attribute

The form attribute specifies the form an input element belongs to.



The "Last name" field below is outside the form element, but still part of the form.

The input formaction attribute

The formaction attribute specifies the URL of a file that will process the input when the form is submitted.





The input formenctype attribute

The formenctype attribute specifies how the form data should be encoded when submitted.



The input formmethod Attribute

The formmethod attribute defines the HTTP method for sending form-data to the action URL.





The input formtarget attribute

The formtarget attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.





The input formnovalidate attribute



The form novalidate attribute

The novalidate attribute specifies that the form data should not be validated when submitted.